﻿using UnityEngine;
using System.Collections;

public class MouseOverScript : MonoBehaviour 
{
    private bool isMouseOver;

	void Start () 
    {
        isMouseOver = false;
	}

    void OnMouseEnter()
    {
        isMouseOver = true;     
    }

    void OnMouseExit()
    {
        isMouseOver = false; 
    }

    public bool IsMouseOver()
    {
        return isMouseOver;
    }
}
